package cn.credit.loan.dao.card;

import java.util.List;

import cn.credit.loan.entity.Card;

/**
 * 一卡通类Dao层---Mapper接口
 * @author LI
 *
 */
public interface CardMapper {
	/**
	 * 卡通添加
	 * @param card
	 * @return
	 */
	public int  getCardadd(Card card)throws Exception;
	
	/**
	 * 卡通更新
	 * @param card
	 * @return
	 * @throws Exception
	 */
	public int getCardupdate(Card card)throws Exception;
	/**
	 * 卡通删除
	 * @param cardId
	 * @return
	 * @throws Exception
	 */
	public boolean getCarddelete(int cardId)throws Exception;
	/**
	 * 卡通查询
	 * @param card
	 * @return
	 * @throws Exception
	 */
	public List<Card> getCardList(Card card)throws Exception;
}
